﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JSTT_DATA_ENTITY
{
    public class MDataTypeDefine
    {
        private Dictionary<string, Type> _supportType = new Dictionary<string, Type>();

        public MDataTypeDefine()
        {
            _supportType.Add("int",typeof(System.Int32));
            _supportType.Add("smallint",typeof(System.Int16));
            _supportType.Add("string",typeof(string));
            _supportType.Add("byte",typeof(System.Byte));
            _supportType.Add("bool",typeof(System.Boolean));
            _supportType.Add("bigint",typeof(System.Int64));
            _supportType.Add("Number",typeof(System.Int32));
        }

        Type GetTypeByTypeStr(string typeStr)
        {
            return _supportType[typeStr];
        }


    }

    public class CSComm
    {
    }
}
